<html lang="en-US">

<head>
	<meta name="generator" content="Hugo 0.125.7">
    
<title>花落雨忧</title>
<meta property="og:title" content="花落雨忧">
<meta property="og:type" content="website">



    



<meta property="description" content="">






<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1">

<link rel="shortcut icon" href="https://www.lican.asia/logo/logo.png" type="image/x-icon" />


<link href="/index.xml" rel="alternate" type="application/rss+xml" title="花落雨忧" />


<link rel="stylesheet" href="/css/style.min.css" />

<link rel="stylesheet" href="/css/reset.min.css" />




<script src="https://www.lican.asia/js/highlight.min.js"></script>

<script>
hljs.configure({ ignoreUnescapedHTML: true })
hljs.highlightAll();
</script>


<script src="https://www.lican.asia/js/jquery.min.js"></script>




<link href="https://www.lican.asia/css/hugo-code.min.css" rel="stylesheet" />



</head>

<body id="period" class="home blog">
    <a class="skip-content" href="#main">Press "Enter" to skip to content</a>
    <div id="overflow-container" class="overflow-container">
        <header class="site-header" id="site-header" role="banner">
    <div class="max-width">
        <div id="title-container" class="title-container">
            <div id="site-title" class="site-title"><a href="/">花落雨忧</a></div>
            <p class="tagline">思所及 力所行 方为真.</p>
        </div>
        
        <div id="menu-primary-container" class="menu-primary-container">
            <div class="icon-container">
            </div>
            <div id="menu-primary" class="menu-container menu-primary" role="navigation">
                <nav class="menu">
                    <ul id="menu-primary-items" class="menu-primary-items">
                        
                        
                        <li id="menu-item-0"
                            class="menu-item menu-item-type-custom menu-item-object-custom ">
                            <a href="/posts" aria-current="page" tabindex="0">首页</a></li>
                        
                        <li id="menu-item-1"
                            class="menu-item menu-item-type-custom menu-item-object-custom ">
                            <a href="/tech/" aria-current="page" tabindex="1">技术文档</a></li>
                        
                        <li id="menu-item-2"
                            class="menu-item menu-item-type-custom menu-item-object-custom ">
                            <a href="/article/" aria-current="page" tabindex="2">文章</a></li>
                        
                        <li id="menu-item-3"
                            class="menu-item menu-item-type-custom menu-item-object-custom ">
                            <a href="/project/" aria-current="page" tabindex="3">项目</a></li>
                        
                        <li id="menu-item-4"
                            class="menu-item menu-item-type-custom menu-item-object-custom ">
                            <a href="/about/" aria-current="page" tabindex="4">关于</a></li>
                        
                    </ul>
                </nav>
            </div>
        </div>
    </div>
</header>

        <div id="primary-container" class="primary-container">
            <div class="max-width">
                <section id="main" class="main" role="main">
    <div id="loop-container" class="loop-container">
        
        
        
        
        
        
        <div
            class="post-6033 post type-post status-publish format-standard hentry category-php8 category-php-usage category-notes tag-match tag-match-expressionswitch tag-php-8 tag-php8 entry">
            <article>
                <div class="post-container">
                    <div class="post-header">
                        <h2 class="post-title">
                            <a href="/posts/posts/kubernetes/2020-05-10-api/">使用 Go 程序调用 Kubernetes API</a>
                        </h2>
                        <div class="post-byline">Published on
                            <a class="date" href="javascript:;">2020/05/10</a>
                            
                            
                            
                            
                            
                    </div>
                    <div class="post-content">
                        
                        
                        
                        
                        <p>在前面的章节中，我们介绍了快速部署 Kubernetes 和应用程序的方法，接下来在本章节中我们将对 Kubernetes 的 API 进行了解，并且进行调用， …</p>
                        
                    </div>
            </article>
        </div>
        
        <div
            class="post-6033 post type-post status-publish format-standard hentry category-php8 category-php-usage category-notes tag-match tag-match-expressionswitch tag-php-8 tag-php8 entry">
            <article>
                <div class="post-container">
                    <div class="post-header">
                        <h2 class="post-title">
                            <a href="/posts/posts/kubernetes/2020-05-03-deployment/">在 Kubernetes 中部署应用程序</a>
                        </h2>
                        <div class="post-byline">Published on
                            <a class="date" href="javascript:;">2020/05/03</a>
                            
                            
                            
                            
                            
                    </div>
                    <div class="post-content">
                        
                        
                        
                        
                        <p>在完成了本地 Kubernetes 的快速搭建（基于 Docker）后，我们已经可以正式的使用它了。对于我们平时最常见的需求，那就是往 Kubernetes 里 …</p>
                        
                    </div>
            </article>
        </div>
        
        <div
            class="post-6033 post type-post status-publish format-standard hentry category-php8 category-php-usage category-notes tag-match tag-match-expressionswitch tag-php-8 tag-php8 entry">
            <article>
                <div class="post-container">
                    <div class="post-header">
                        <h2 class="post-title">
                            <a href="/posts/posts/kubernetes/2020-05-01-install/">Kubernetes 本地快速启动（基于 Docker）</a>
                        </h2>
                        <div class="post-byline">Published on
                            <a class="date" href="javascript:;">2020/05/01</a>
                            
                            
                            
                            
                            
                    </div>
                    <div class="post-content">
                        
                        
                        
                        
                        <p>Kubernetes 在容器编排大战结束后已经在云原生中占据了明确的一席，最近几年越来越火热，目前搜索趋势：
Kubernetes 的热度很明显是不断地在上涨， …</p>
                        
                    </div>
            </article>
        </div>
        
        <div
            class="post-6033 post type-post status-publish format-standard hentry category-php8 category-php-usage category-notes tag-match tag-match-expressionswitch tag-php-8 tag-php8 entry">
            <article>
                <div class="post-container">
                    <div class="post-header">
                        <h2 class="post-title">
                            <a href="/posts/posts/reading/2020-04-24-book/">2020年下半年：读书清单</a>
                        </h2>
                        <div class="post-byline">Published on
                            <a class="date" href="javascript:;">2020/04/24</a>
                            
                            
                            
                            
                            
                    </div>
                    <div class="post-content">
                        
                        
                        
                        
                        <p>2020 年的上半年因为一些事情耽搁了整体的进程，不过最近也快要到 Deadline 了，因此又愉快的能空出手了。
回顾这几年在个人技能上，我随着公司的大泥球应 …</p>
                        
                    </div>
            </article>
        </div>
        
        <div
            class="post-6033 post type-post status-publish format-standard hentry category-php8 category-php-usage category-notes tag-match tag-match-expressionswitch tag-php-8 tag-php8 entry">
            <article>
                <div class="post-container">
                    <div class="post-header">
                        <h2 class="post-title">
                            <a href="/posts/posts/go/go-moduels/2020-02-28-go-modules/">Go Modules 终极入门</a>
                        </h2>
                        <div class="post-byline">Published on
                            <a class="date" href="javascript:;">2020/02/28</a>
                            
                            
                            
                            By 
                            <a class="author" href="javascript:;">煎鱼</a></div>
                            
                    </div>
                    <div class="post-content">
                        
                        
                        
                        
                        <p>Go modules 是 Go 语言中正式官宣的项目依赖解决方案，Go modules（前身为vgo）于 Go1.11 正式发布，在 Go1.14 已经准备好， …</p>
                        
                    </div>
            </article>
        </div>
        
        <div
            class="post-6033 post type-post status-publish format-standard hentry category-php8 category-php-usage category-notes tag-match tag-match-expressionswitch tag-php-8 tag-php8 entry">
            <article>
                <div class="post-container">
                    <div class="post-header">
                        <h2 class="post-title">
                            <a href="/posts/posts/go/go-moduels/2019-09-29-goproxy-cn/">干货满满的 Go Modules 和 goproxy.cn</a>
                        </h2>
                        <div class="post-byline">Published on
                            <a class="date" href="javascript:;">2019/09/29</a>
                            
                            
                            
                            By 
                            <a class="author" href="javascript:;">煎鱼</a></div>
                            
                    </div>
                    <div class="post-content">
                        
                        
                        
                        
                        <p>大家好，我是一只普通的煎鱼，周四晚上很有幸邀请到 goproxy.cn 的作者 @盛傲飞（@aofei） 到 Go 夜读给我们进行第 61 期 《Go …</p>
                        
                    </div>
            </article>
        </div>
        
        <div
            class="post-6033 post type-post status-publish format-standard hentry category-php8 category-php-usage category-notes tag-match tag-match-expressionswitch tag-php-8 tag-php8 entry">
            <article>
                <div class="post-container">
                    <div class="post-header">
                        <h2 class="post-title">
                            <a href="/posts/posts/go/talk/2019-09-24-why-vsz-large/">Go 应用内存占用太多，让排查？（VSZ篇）</a>
                        </h2>
                        <div class="post-byline">Published on
                            <a class="date" href="javascript:;">2019/09/24</a>
                            
                            
                            
                            By 
                            <a class="author" href="javascript:;">煎鱼</a></div>
                            
                    </div>
                    <div class="post-content">
                        
                        
                        
                        
                        <p>前段时间，某同学说某服务的容器因为超出内存限制，不断地重启，问我们是不是有内存泄露，赶紧排查，然后解决掉，省的出问题。我们大为震惊，赶紧查看监控+报警系统和性能 …</p>
                        
                    </div>
            </article>
        </div>
        
        <div
            class="post-6033 post type-post status-publish format-standard hentry category-php8 category-php-usage category-notes tag-match tag-match-expressionswitch tag-php-8 tag-php8 entry">
            <article>
                <div class="post-container">
                    <div class="post-header">
                        <h2 class="post-title">
                            <a href="/posts/posts/go/talk/2019-09-07-go1.13-defer/">Go1.13 defer 的性能是如何提高的</a>
                        </h2>
                        <div class="post-byline">Published on
                            <a class="date" href="javascript:;">2019/09/07</a>
                            
                            
                            
                            By 
                            <a class="author" href="javascript:;">煎鱼</a></div>
                            
                    </div>
                    <div class="post-content">
                        
                        
                        
                        
                        <p>最近 Go1.13 终于发布了，其中一个值得关注的特性就是 defer 在大部分的场景下性能提升了30%，但是官方并没有具体写是怎么提升的，这让大家非常的疑惑。 …</p>
                        
                    </div>
            </article>
        </div>
        
        <div
            class="post-6033 post type-post status-publish format-standard hentry category-php8 category-php-usage category-notes tag-match tag-match-expressionswitch tag-php-8 tag-php8 entry">
            <article>
                <div class="post-container">
                    <div class="post-header">
                        <h2 class="post-title">
                            <a href="/posts/posts/go/tools/2019-09-02-godebug-gc/">用 GODEBUG 看 GC</a>
                        </h2>
                        <div class="post-byline">Published on
                            <a class="date" href="javascript:;">2019/09/02</a>
                            
                            
                            
                            By 
                            <a class="author" href="javascript:;">煎鱼</a></div>
                            
                    </div>
                    <div class="post-content">
                        
                        
                        
                        
                        <p>什么是 GC 在计算机科学中，垃圾回收（GC）是一种自动管理内存的机制，垃圾回收器会去尝试回收程序不再使用的对象及其占用的内存。而最早 John …</p>
                        
                    </div>
            </article>
        </div>
        
        <div
            class="post-6033 post type-post status-publish format-standard hentry category-php8 category-php-usage category-notes tag-match tag-match-expressionswitch tag-php-8 tag-php8 entry">
            <article>
                <div class="post-container">
                    <div class="post-header">
                        <h2 class="post-title">
                            <a href="/posts/posts/go/tools/2019-08-19-godebug-sched/">用 GODEBUG 看调度跟踪</a>
                        </h2>
                        <div class="post-byline">Published on
                            <a class="date" href="javascript:;">2019/08/19</a>
                            
                            
                            
                            By 
                            <a class="author" href="javascript:;">煎鱼</a></div>
                            
                    </div>
                    <div class="post-content">
                        
                        
                        
                        
                        <p>让 Go 更强大的原因之一莫过于它的 GODEBUG 工具，GODEBUG 的设置可以让 Go 程序在运行时输出调试信息，可以根据你的要求很直观的看到你想要的调 …</p>
                        
                    </div>
            </article>
        </div>
        

    </div>


    <nav class="navigation pagination" role="navigation" aria-label="Posts">
        <h2 class="screen-reader-text">Posts navigation</h2>
        <div class="nav-links">
            
            <a class="prev page-numbers" href="/page/14/">Previous</a>
            
            
            
            <a class="page-numbers" href="/">1</a>
            
            
            
            <a class="page-numbers" href="/page/2/">2</a>
            
            
            
            <a class="page-numbers" href="/page/3/">3</a>
            
            
            
            <a class="page-numbers" href="/page/4/">4</a>
            
            
            
            <a class="page-numbers" href="/page/5/">5</a>
            
            
            
            <a class="page-numbers" href="/page/6/">6</a>
            
            
            
            <a class="page-numbers" href="/page/7/">7</a>
            
            
            
            <a class="page-numbers" href="/page/8/">8</a>
            
            
            
            <a class="page-numbers" href="/page/9/">9</a>
            
            
            
            <a class="page-numbers" href="/page/10/">10</a>
            
            
            
            <a class="page-numbers" href="/page/11/">11</a>
            
            
            
            <a class="page-numbers" href="/page/12/">12</a>
            
            
            
            <a class="page-numbers" href="/page/13/">13</a>
            
            
            
            <a class="page-numbers" href="/page/14/">14</a>
            
            
            
            <span aria-current="page" class="page-numbers current">15</span>
            
            
            
            
            <a class="page-numbers" href="/page/16/">16</a>
            
            
            
            <a class="page-numbers" href="/page/17/">17</a>
            
            
            
            <a class="page-numbers" href="/page/18/">18</a>
            
            
            
            <a class="page-numbers" href="/page/19/">19</a>
            
            
            
            <a class="page-numbers" href="/page/20/">20</a>
            
            
            
            <a class="page-numbers" href="/page/21/">21</a>
            
            
            
            <a class="next page-numbers" href="/page/16/">Next</a>
            
        </div>
    </nav>
</section> 
<script src="https://readmore.openwrite.cn/js/readmore.js" type="text/javascript"></script>
<script>
    const btw = new BTWPlugin();
    btw.init({
        id: 'container',
        blogId: '33573-1732499652133-368',
        name: '花落雨忧',
        qrcode: 'https://www.lican.site/wechat/lican.png',
        keyword: '花落雨忧',
    });
</script>


                
                <aside class="sidebar sidebar-primary" id="sidebar-primary" role="complementary">
    <h1 class="screen-reader-text">Sidebar</h1>
    

    
    
    <section id="text-2" class="widget widget_text">
        <div class="textwidget">
            
            <div id="profile">
                <div id="profile_picture"><img src="https://www.lican.asia/logo/logo.png"></div>
                <div id="profile_intro">
                    <p><span class="name">Lican</span></p>
                    <p class="intro">全栈开发者，爱好造轮子。</p>
                </div>
            </div>
            
            <p>
                <script type="text/javascript">
                    (function ($) {
                        $(document).ready(function () {
                            var menuPrimaryContainer = $('#menu-primary-container');
                            var profile = $('#text-2');
                            $('#toggle-navigation').click(function () {
                                if (menuPrimaryContainer.hasClass('open')) {
                                    profile.removeClass('open');
                                } else {
                                    profile.addClass('open');
                                }
                            });
                        });
                    })(jQuery);
                </script>
            </p>
        </div>
    </section>
    
    
    
    
    
    <section id="text-5" class="widget widget_text">
        <h2 class="widget-title">开源项目</h2>
        <div class="textwidget">
            <div id="projects" style="line-height: 22px;">
                
                <a href="https://github.com/idoubi/gonews"
                    target="_blank">gonews</a>: &nbsp;Daily news for golang<br>
                
                <a href="https://github.com/idoubi/sql2struct"
                    target="_blank">sql2struct</a>: &nbsp;Generate go struct according to SQL<br>
                
                <a href="https://github.com/idoubi/goz"
                    target="_blank">goz</a>: &nbsp;Request library used in golang<br>
                
        </div>
    </section>
    
    

    
    
    
    
    <section id="qrcode" class="widget widget_media_image">
        <h2 class="widget-title">微信公众号</h2>
        <img width="258" height="258"
            src="https://www.lican.asia/wechat/lican.png"
            class="image wp-image-5514  attachment-full size-full" alt=""
            style="max-width: 100%; height: auto;"
            sizes="(max-width: 258px) 100vw, 258px">
    </section>
    
    

    
    
    

    
    
    

    
    
    
    
</aside>
            </div>
        </div>

        <footer id="site-footer" class="site-footer" role="contentinfo">
    <div class="max-width">
    </div>
    <div class="footer">
        <div id="footercontent">
            © lican.asia All rights reserved<br/>
            Built with Hugo Theme <a href="https://github.com/idoubi/hugo-theme-period" target="_blank">Period</a>
        </div>
    </div>
</footer>

<script>
    var _hmt = _hmt || [];
    (function() {
      var hm = document.createElement("script");
      hm.src = "https://hm.baidu.com/hm.js?e8351b6d4626d5881d439ea1f6184baa";
      var s = document.getElementsByTagName("script")[0]; 
      s.parentNode.insertBefore(hm, s);
    })();
</script>
    
    
    </div>
    
</body>

</html>